package com.zijin.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;



/**
 * @Title: LockStatusEnum
 * @Author JWei Xu
 * @Package com.zijin.context
 * @Date 2024/12/7 9:19
 * @description: 锁定状态枚举类
 */

@Getter
public enum LockStatusEnum {

    UNLOCK(0,"未锁定"),LOCK(1,"锁定");

    @EnumValue
    private Integer code;

    @JsonValue
    private String status;

    LockStatusEnum(Integer code,String status){

        this.code = code;
        this.status = status;

    }
}
